package org.example.client;

import org.example.entity.Rabbit;
import org.example.entity.Student;
import org.example.entity.Teacher;
import org.example.entity.Team;
import org.example.service.RabbitPanel;
import org.example.service.RabbitService;
import org.example.service.impl.RabbitPanelImpl;
import org.example.service.impl.RabbitServiceImpl;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        Teacher teacher = new Teacher("菠萝哥");
        Team team = new Team(teacher,
                List.of(new Student("小辉辉"),
                        new Student("小炆炆"),
                        new Student("小博博"))
        );
        Rabbit rabbit = new Rabbit("rabbit");

//        RabbitService rabbitService = new RabbitServiceImpl(team, rabbit);

        RabbitPanel rabbitPanel = new RabbitPanelImpl(team, rabbit);
        rabbitPanel.feed();
        rabbitPanel.show();

    }
}
